Skip to content

Conversation

@pamaury
Copy link
Contributor

@pamaury pamaury commented Feb 5, 2026

Backport #26994

We used XOR for the comparison hardening, but didn't realize that might flip
false to true. Luckily, the allowed values checked before calling the function
makes the flip impossible.

This commit changes to normal comparison to eliminating the corner case.

Change-Id: I7e4c7cdfd3d53a70852ecf97939fdce56a7b0cd8
Signed-off-by: Yi-Hsuan Deng <[email protected]>
(cherry picked from commit 4da7fb1)
@pamaury pamaury requested a review from a team as a code owner February 5, 2026 17:33
@pamaury pamaury requested review from cfrantz, jwnrt and timothytrippel and removed request for a team February 5, 2026 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants